export default [
    {
        path:"/home",
        name:"Home",
        component:()=>import("@/views/Home/index.vue")
    },
    {
        path:"/login",
        name:"Login",
        component:()=>import("@/views/Login/index.vue")
    },
    {
        path:"/",
        redirect:"/home"
    },
    //任意路由的配置，必须放在路由表的最后
    {
        path:"/:pathMatch(.*)*",
        component:()=>import("@/views/NotFound/index.vue")
    }
]